package com.example.demo.entity;

import java.util.Date;

public class Upload {
    private Integer id;
    private String name;
    private Date uploadTime;
    private String state;

    public Upload() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public Upload(Integer id, String name, Date uploadTime, String state) {
        this.id = id;
        this.name = name;
        this.uploadTime = uploadTime;
        this.state = state;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
